package com.jymj.service;

import com.jymj.entity.CjEntity;
import com.jymj.entity.SysXzqEntity;
import com.jymj.entity.dto.ScorebarDto;
import com.jymj.entity.landmanage.*;
import com.jymj.entity.vo.CompositeVo;
import com.jymj.entity.vo.ScoreVo;

import java.util.List;
import java.util.Map;

/**
 * Created by ${lc} on 2020/12/.
 */
public interface ScoreService {


    List<ScorebarEntity> queryScorebar(ScorebarDto scorebarDto);

    List<ScoreMonEntity> queryByMon(ScorebarDto scorebarDto);

    List<ScoreZhenEntity> queryRanking(Map<String,Object> params);

    List<ScorebarEntity> queryZhenCode(String quCode,String date);

    List<ZhenInfo> queryZhenCodelist(String quCode,String date);

    List<ZhenInfo> queryGuding();
    
    List<CjEntity> selectBycjCode(); 

    ScorebarEntity scorebarByCode(CjEntity cjEntity,Integer type);

    void saveCjScorebar(ScorebarEntity scorebarEntity);  

    void updateScorebar(ScorebarEntity scorebarEntity);

    List<PjEnviorSupvsEntity> queryByCode (String code);

    CjEntity selectCjobjByCode(String code);

    List<ZhenInfo> selectZhen();

    List<PjEnviorSupvsEntity> queryZgByCode(String code);

    void deleteScorebar();

    ScoreEntity scoreByCode(CjEntity cjEntity,Integer type);

    void save(ScoreEntity scoreEntity);

    List<ScoreEntity> getScore(ScorebarDto scorebarDto);

    List<ScoreVo> getZhscore(ScorebarDto scorebarDto);

    List<ToiletRecordEntity> queryRecord(ScorebarDto scorebarDto);

    void saveToiletRecord(List<ToiletRecordEntity> toiletRecordEntities);

    List<PointRecordEntity> getToiletRecord(ScorebarDto scorebarDto);

    void saveScoreTotal(List<ScoreVo> scoreVos);

    List<ScoreVo> queryZhscore(ScorebarDto scorebarDto);

    List<CompositeVo> getZhdf(String date,Integer type);
}
